﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="VIBADataSet" targetNamespace="http://tempuri.org/VIBADataSet.xsd" xmlns:mstns="http://tempuri.org/VIBADataSet.xsd" xmlns="http://tempuri.org/VIBADataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="VIBAConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="VIBAConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.VIBAConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VIBA LUONGTableAdapter" GeneratorDataComponentClassName="VIBA_LUONGTableAdapter" Name="VIBA LUONG" UserDataComponentName="VIBA LUONGTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="VIBAConnectionString (Web.config)" DbObjectName="ViBa.dbo.[VIBA LUONG]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[VIBA LUONG] WHERE (([Luong_Id] = @Original_Luong_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Luong_Id" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Luong_Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[VIBA LUONG] ([Luong_Id], [Luong_Ten], [Luong_Id_Tram_Den], [Luong_Id_Tram_Di], [Luong_Port_Den], [Luong_Port_Di], [Luong_Lich_Su_Duong_Di], [Luong_GhiChu], [Status]) VALUES (@Luong_Id, @Luong_Ten, @Luong_Id_Tram_Den, @Luong_Id_Tram_Di, @Luong_Port_Den, @Luong_Port_Di, @Luong_Lich_Su_Duong_Di, @Luong_GhiChu, @Status)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Luong_Id" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Luong_Id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Luong_Ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Luong_Ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Luong_Id_Tram_Den" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Luong_Id_Tram_Den" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Luong_Id_Tram_Di" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Luong_Id_Tram_Di" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Luong_Port_Den" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Luong_Port_Den" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Luong_Port_Di" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Luong_Port_Di" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Luong_Lich_Su_Duong_Di" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Luong_Lich_Su_Duong_Di" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Luong_GhiChu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Luong_GhiChu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Luong_Id, Luong_Ten, Luong_Id_Tram_Den, Luong_Id_Tram_Di, Luong_Port_Den, Luong_Port_Di, Luong_Lich_Su_Duong_Di, Luong_GhiChu, Status FROM dbo.[VIBA LUONG]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[VIBA LUONG] SET [Luong_Id] = @Luong_Id, [Luong_Ten] = @Luong_Ten, [Luong_Id_Tram_Den] = @Luong_Id_Tram_Den, [Luong_Id_Tram_Di] = @Luong_Id_Tram_Di, [Luong_Port_Den] = @Luong_Port_Den, [Luong_Port_Di] = @Luong_Port_Di, [Luong_Lich_Su_Duong_Di] = @Luong_Lich_Su_Duong_Di, [Luong_GhiChu] = @Luong_GhiChu, [Status] = @Status WHERE (([Luong_Id] = @Original_Luong_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Luong_Id" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Luong_Id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Luong_Ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Luong_Ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Luong_Id_Tram_Den" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Luong_Id_Tram_Den" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Luong_Id_Tram_Di" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Luong_Id_Tram_Di" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Luong_Port_Den" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Luong_Port_Den" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Luong_Port_Di" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Luong_Port_Di" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Luong_Lich_Su_Duong_Di" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Luong_Lich_Su_Duong_Di" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Luong_GhiChu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Luong_GhiChu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Luong_Id" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Luong_Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Luong_Id" DataSetColumn="Luong_Id" />
              <Mapping SourceColumn="Luong_Ten" DataSetColumn="Luong_Ten" />
              <Mapping SourceColumn="Luong_Id_Tram_Den" DataSetColumn="Luong_Id_Tram_Den" />
              <Mapping SourceColumn="Luong_Id_Tram_Di" DataSetColumn="Luong_Id_Tram_Di" />
              <Mapping SourceColumn="Luong_Port_Den" DataSetColumn="Luong_Port_Den" />
              <Mapping SourceColumn="Luong_Port_Di" DataSetColumn="Luong_Port_Di" />
              <Mapping SourceColumn="Luong_Lich_Su_Duong_Di" DataSetColumn="Luong_Lich_Su_Duong_Di" />
              <Mapping SourceColumn="Luong_GhiChu" DataSetColumn="Luong_GhiChu" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="VIBADataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="VIBADataSet" msprop:Generator_UserDSName="VIBADataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="VIBA_x0020_LUONG" msprop:Generator_TableClassName="VIBA_LUONGDataTable" msprop:Generator_TableVarName="tableVIBA_LUONG" msprop:Generator_TablePropName="VIBA_LUONG" msprop:Generator_RowDeletingName="VIBA_LUONGRowDeleting" msprop:Generator_UserTableName="VIBA LUONG" msprop:Generator_RowChangingName="VIBA_LUONGRowChanging" msprop:Generator_RowEvHandlerName="VIBA_LUONGRowChangeEventHandler" msprop:Generator_RowDeletedName="VIBA_LUONGRowDeleted" msprop:Generator_RowEvArgName="VIBA_LUONGRowChangeEvent" msprop:Generator_RowChangedName="VIBA_LUONGRowChanged" msprop:Generator_RowClassName="VIBA_LUONGRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Luong_Id" msprop:Generator_ColumnVarNameInTable="columnLuong_Id" msprop:Generator_ColumnPropNameInRow="Luong_Id" msprop:Generator_ColumnPropNameInTable="Luong_IdColumn" msprop:Generator_UserColumnName="Luong_Id">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Luong_Ten" msprop:Generator_ColumnVarNameInTable="columnLuong_Ten" msprop:Generator_ColumnPropNameInRow="Luong_Ten" msprop:Generator_ColumnPropNameInTable="Luong_TenColumn" msprop:Generator_UserColumnName="Luong_Ten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Luong_Id_Tram_Den" msprop:Generator_ColumnVarNameInTable="columnLuong_Id_Tram_Den" msprop:Generator_ColumnPropNameInRow="Luong_Id_Tram_Den" msprop:Generator_ColumnPropNameInTable="Luong_Id_Tram_DenColumn" msprop:Generator_UserColumnName="Luong_Id_Tram_Den" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Luong_Id_Tram_Di" msprop:Generator_ColumnVarNameInTable="columnLuong_Id_Tram_Di" msprop:Generator_ColumnPropNameInRow="Luong_Id_Tram_Di" msprop:Generator_ColumnPropNameInTable="Luong_Id_Tram_DiColumn" msprop:Generator_UserColumnName="Luong_Id_Tram_Di" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Luong_Port_Den" msprop:Generator_ColumnVarNameInTable="columnLuong_Port_Den" msprop:Generator_ColumnPropNameInRow="Luong_Port_Den" msprop:Generator_ColumnPropNameInTable="Luong_Port_DenColumn" msprop:Generator_UserColumnName="Luong_Port_Den" type="xs:int" minOccurs="0" />
              <xs:element name="Luong_Port_Di" msprop:Generator_ColumnVarNameInTable="columnLuong_Port_Di" msprop:Generator_ColumnPropNameInRow="Luong_Port_Di" msprop:Generator_ColumnPropNameInTable="Luong_Port_DiColumn" msprop:Generator_UserColumnName="Luong_Port_Di" type="xs:int" minOccurs="0" />
              <xs:element name="Luong_Lich_Su_Duong_Di" msprop:Generator_ColumnVarNameInTable="columnLuong_Lich_Su_Duong_Di" msprop:Generator_ColumnPropNameInRow="Luong_Lich_Su_Duong_Di" msprop:Generator_ColumnPropNameInTable="Luong_Lich_Su_Duong_DiColumn" msprop:Generator_UserColumnName="Luong_Lich_Su_Duong_Di" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Luong_GhiChu" msprop:Generator_ColumnVarNameInTable="columnLuong_GhiChu" msprop:Generator_ColumnPropNameInRow="Luong_GhiChu" msprop:Generator_ColumnPropNameInTable="Luong_GhiChuColumn" msprop:Generator_UserColumnName="Luong_GhiChu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:VIBA_x0020_LUONG" />
      <xs:field xpath="mstns:Luong_Id" />
    </xs:unique>
  </xs:element>
</xs:schema>